package com.bss.service;

import com.bss.pojo.Customer;

import java.util.List;

/**
 * @Author 袁飞
 * @company 中原工学院
 * @create 2020-03-14-19:12
 */
public interface CustomerService {
    int addCustomer(Customer customer);
    int updateCustomer(Customer customer);
    Customer findCustomerById(Integer id);
    int deleteCustomerById(Integer id);
    List<Customer> findAll();
    Customer findByName(String customerName);
    List<Customer> findCustomer(String customerName,String customerAddr);
}
